//
//  POIAnnotation.h
//  SmartLife
//
//  Created by Lawrence on 15/10/23.
//  Copyright © 2015年 Lawrence. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AMapSearchKit/AMapSearchKit.h>
#import <CoreLocation/CoreLocation.h>



@interface POIAnnotation : NSObject
-(id)initWithPOI:(AMapPOI *)poi;

@property(nonatomic,readonly) CLLocationCoordinate2D coordinate;
@property(nonatomic,readonly,strong) AMapPOI *poi;
-(NSString *)title;


-(NSString *)subtitle;
@end
